<?php
use \Illuminate\Support\Arr;
/**
 * laravel5.7 以上已弃用了array_set改成arr::set
 */
if(!function_exists('array_set')){
    function array_set(&$toolbox,$show = 'show',$flage = false){
        arr::set($toolbox, $show, $flage);
    }
}

/**
 *
 */
if(!function_exists('user_power_rows')){
    function user_power_rows(){
        echo Admin::user()->id;
        exit;
    }
}
